#!/bin/bash

set -e

PYTHON_VM_DIR=pythonvm

if [ ! -d $PYTHON_VM_DIR ]; then
    python3 -m venv $PYTHON_VM_DIR
fi

source ./$PYTHON_VM_DIR/bin/activate

# check and install requests
pip install --upgrade requests
pip install python-dotenv

source ./$PYTHON_VM_DIR/bin/activate